package com.shanzmoo.h5.service;


import com.shanzmoo.db.product.entity.dto.ProductSpuQueryDto;
import com.shanzmoo.h5.domain.vo.IndexCategoryVo;
import com.shanzmoo.h5.domain.vo.MallCategoryVO;
import com.shanzmoo.h5.domain.vo.ProductSpuBriefVo;
import com.shanzmoo.h5.domain.vo.ProductSpuInfoVo;
import com.shanzmoo.base.bean.PageRespBase;
import com.shanzmoo.base.bean.SResponse;

import java.util.List;

/**
 * 商品服务接口
 *
 * @author： Gzhao 2020/12/27
 */
public interface IProductRedisService {

    List<String> getBannerList();

    List<IndexCategoryVo> getIndexCategoryList();

    PageRespBase<ProductSpuBriefVo> getRecommendList(Integer pageNum, Integer pageSize);

    SResponse<ProductSpuInfoVo> getInfo(String spu);

    SResponse<List<MallCategoryVO>> getCategoryList(Integer categoryId);

    PageRespBase<ProductSpuBriefVo> queryList(ProductSpuQueryDto query);

}
